import request from "@/utils/request";

export function orderSettingsTable(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/order/setting/table`,
    method: 'post',
    data: query
  })
}

export function orderSettingsLoad(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/order/setting/load`,
    method: 'get',
    params: query
  })
}

export function orderSettingsSave(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/order/setting/save`,
    method: 'post',
    data: query
  })
}

export function orderSettingsDelete(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/order/setting/delete`,
    method: 'post',
    data: query
  })
}
